<?php 

// +----------------------------------------------------------------------
// | 中宣部防沉迷接口配置配置
// +----------------------------------------------------------------------
return [
	
	//接口配置
	"interface" => 
	[
		"Content-Type"    => "application/json; charset=utf-8",
		"appId"           => "",//接口调用唯一凭证，由系统发放
		"secretKey"       => "",//访问密钥
		"bizId"           => "",//业务权限标 与游戏备案识别码一致
		"checkUrl"        => "https://api.wlc.nppa.gov.cn/idcard/authentication/check",// 实名认证接口
		"queryUrl"        => "http://api2.wlc.nppa.gov.cn/idcard/authentication/query",// 实名认证结果查询接口
		"loginoutUrl"     => "http://api2.wlc.nppa.gov.cn/behavior/collection/loginout",// 游戏用户行为数据上报接口
		
	],
	//错误信息说明
	"errorMsg" => 
	[
		0 => [
			"errmsg" => "OK",
			"errorexplain" => "请求成功"
		],
		1001 => [
			"errmsg" => "SYS ERROR",
			"errorexplain" => "系统错误"
		],
		1002 => [
			"errmsg" => "SYS REQ RESOURCE NOT EXIST",
			"errorexplain" => "接口请求的资源不存在"
		],
		1003 => [
			"errmsg" => "SYS REQ METHOD ERROR",
			"errorexplain" => "接口请求方式错误"
		],
		1004 => [
			"errmsg" => "SYS REQ HEADER MISS ERROR",
			"errorexplain" => "接口请求核心参数缺失"
		],
		1005 => [
			"errmsg" => "SYS REQ IP ERROR",
			"errorexplain" => "接口请求IP地址非法"
		],
		1006 => [
			"errmsg" => "SYS REQ BUSY ERROR",
			"errorexplain" => "接口请求超出流量限制"
		],
		1007 => [
			"errmsg" => "SYS REQ EXPIRE ERROR",
			"errorexplain" => "接口请求过期"
		],
		1008 => [
			"errmsg" => "SYS REQ PARTNER ERROR",
			"errorexplain" => "接口请求方身份非法"
		],
		1009 => [
			"errmsg" => "SYS REQ PARTNER AUTH DISABLE",
			"errorexplain" => "接口请求方权限未启用"
		],
		1010 => [
			"errmsg" => "SYS REQ AUTH ERROR",
			"errorexplain" => "接口请求方无该接口权限"
		],
		1011 => [
			"errmsg" => "SYS REQ PARTNER AUTH ERROR",
			"errorexplain" => "接口请求方身份核验错误"
		],
		1012 => [
			"errmsg" => "SYS REQ PARAM CHECK ERROR",
			"errorexplain" => "接口请求报文核验失败"
		],
		2001 => [
			"errmsg" => "BUS AUTH IDNUM ILLEGAL",
			"errorexplain" => "身份证号格式校验失败"
		],
		2002 => [
			"errmsg" => "AUTH RESOURCE LIMIT",
			"errorexplain" => "实名认证条目已达上限"
		],
		2003 => [
			"errmsg" => "AUTH CODE NO AUTH RECODE",
			"errorexplain" => "无该编码提交的实名认证记录"
		],
		2004 => [
			"errmsg" => "AUTH CODE ALREADY IN USE",
			"errorexplain" => "编码已经被占用"
		],
		3001 => [
			"errmsg" => "BUS COLL PARTIAL ERROR",
			"errorexplain" => "行为数据部分上报失败"
		],
		3002 => [
			"errmsg" => "BUS COLL BEHAVIOR NULL ERROR",
			"errorexplain" => "行为数据为空"
		],
		3003 => [
			"errmsg" => "BUS COLL OVER LIMIT COUNT",
			"errorexplain" => "行为数据超出条目数量限制"
		],
		3004 => [
			"errmsg" => "BUS COLL NO INVALID",
			"errorexplain" => "行为数据编码错误"
		],
		3005 => [
			"errmsg" => "BUS COLL BEHAVIOR TIME ERROR",
			"errorexplain" => "行为发生时间错误"
		],
		3006 => [
			"errmsg" => "BUS COLL PLAYER MODE INVALID",
			"errorexplain" => "用户类型无效"
		],
		3007 => [
			"errmsg" => "BUS COLL BEHAVIOR MODE INVALID",
			"errorexplain" => "行为类型无效"
		],
		3008 => [
			"errmsg" => "BUS COLL PLAYERID MISS",
			"errorexplain" => "缺失PI（用户唯一标识）值"
		],
		3009 => [
			"errmsg" => "BUS COLL DEVICEID MISS",
			"errorexplain" => "缺失DI（设备标识）值"
		],
		3010 => [
			"errmsg" => "BUS COLL PLAYERID INVALID PI",
			"errorexplain" => "（用户唯一标识）值无效"
		],
		4001 => [
			"errmsg" => "TEST SYS ERROR",
			"errorexplain" => "测试系统错误"
		],
		4002 => [
			"errmsg" => "TEST TASK NOT EXIST",
			"errorexplain" => "测试任务不存在"
		],
		4003 => [
			"errmsg" => "TEST PARAM INVALID ERROR",
			"errorexplain" => "测试参数无效"
		]
	]
];
